Ext.define("DCApp.ux.TagField", {
    extend: "Ext.form.field.Tag",
    
    xtype: 'tags',
    queryParam : 'kw',
    triggerAction:'all',
    delimiter :';',
    multiSelect:true,
    minChars:1,
   	typeAhead :true,
    createNewOnEnter: true,
    createNewOnBlur: true,
    anyMatch:true,
    filterPickList: true,
    
    getValue:function(){
     var me=this;
      var result = me.callParent(arguments);
      if(Ext.isArray(result))
    	  return result.join(me.delimiter);
      else
    	  return result;
    }
});